package com.chouxiaozi.wechatpublic.controller.wechat;


import com.chouxiaozi.wechatpublic.entity.WechatGroup;
import com.chouxiaozi.wechatpublic.mapper.WechatGroupMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 微信群组 前端控制器
 * </p>
 *
 * @author ws
 * @since 2019-12-31
 */
@RestController
@RequestMapping("/tbl/wechat-group")
public class WechatGroupController {
    @Autowired
    private WechatGroupMapper wechatGroupMapper;

    @RequestMapping("/get")
    public void get(){
        WechatGroup wechatGroup = wechatGroupMapper.selectById(1);
        List<WechatGroup> list = wechatGroupMapper.selectList(null);
        System.out.println(wechatGroup);
    }

}
